Fix the socket error (SSL)'