Switched to using Erlang/OTP httpc HTTP client