Allow SO_TIMEOUT to be set on client sockets

This change allows the SO_TIMEOUT option on client sockets to be set.