Attempt to synchronously connect this to its remote address.
If cancellable is non-null, it can be used to cancel the connection, in which case
connect_sync will return soup_status_cancelled.
| this |
a client Socket (which must not already be connected) |
| cancellable |
a Cancellable, or null |
|
a success or failure code. |