CReated the socket to the email server.