Support configuration of socket and connection time out.