Documentation and tests for socket_timeout_ms option