Allow ErrorException to be thrown when stream_socket_client() fails to connect.
Merge pull request #3 from jwage/fix/connect-exception

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