add support to use HTTP/1.1 on requests by get_in_socket and post_in_socket methods