http://www.esqsoft.com/examples/troubleshooting-http-using-telnet.htm