Open
Description
Currently the connect call itself is blocking.
We should call stream_socket_client
with the STREAM_CLIENT_ASYNC_CONNECT
flag. But that means we cannot tell connection failure at connect time.
We can only detect connection failure if we have reactphp/reactphp#113. So that needs to be fixed first.