It seems that
unix: -> http: works
unix: -> unix: works
http: -> unix: does not work
unix: -> http: -> unix: does not work
2 can leak sensitive headers if the socket path is not the same. For example http://unix/foo:/ -> http://unix/bar:/.
Originally posted by @lpinca in #2047 (comment)