Add connection timeout parameters.

Can now set timeouts for opening connections and reading from connections via
the parameter objects.