Put the socket in the dictionary before the request is made.