Implements ranch_transport:connect/4.

This addition to ranch_transport(s) allows setting a non-default connect timeout. The default connect timeout of 5000ms is often not ideal, and this patch allows overriding it in the same way the standard OTP libraries do.