BUG(2562): Set a timeout on the GSocketClient.

It will never timeout otherwise. This timeout applies to socket
connection and read/writes. The DNS resolution timeout is unspecified.