rename connection_timeout to connect_timeout
make connect_timeout configurable
decrease connect timeout to prevent timeouts on jruby