Add support for http proxy, and add empty line after response headers to make sure http response correct

- Add support for http proxy. Add -o argument to support http proxy at client end. 

- Add empty line after response headers to make sure http response correct.