Allow ErrorException to be thrown when stream_socket_client() fails to c...

...onnect.