switched httpclient to use net module instead of sockets
replace deprecated parseUrl with parseUri in httpclient
removed unused variable from httpclient
Merge pull request #1743 from cowboy-coders/httpclient_net_module

Switch httpclient to use net module instead of sockets