Changed to new stream_socket_client
Example with certificate