attach_socket() method for just getting the HTTP socket
Merge pull request #36 from aanand/get-attach-socket

attach_socket() method for just getting the HTTP socket