Update socket to support HTTP/1.1