I tried to use the embedded plug strategy inside a Phoenix app and run into an issue where the client set Host header wouldn't be respected in the upstream request.
I digged into it and found this to be caused by benoitc/hackney#114, as :hackney only looks for the Host header before overriding it. Since the headers are being set from a Plug connection, they're lower-cased by default.
I tried HTTPotion as a client and the headers seem to be respected. Any thoughts on the best approach to overcome this issue?