Attempt to connect to the url of this made with connection_create.
timeout is 0 this function can block forever. If
timeout contains a valid timeout, this function will return
ETIMEOUT after the timeout expired.
This function can be cancelled with flush.
a timeout in microseconds
OK when a connection could be made.