support connect and socket timeout options, update the docs