[Transport] Basic connection to gateway.

Client side.