Allow specifying connect_timeout to MySQLdb

This provides a way to change the default connect_timeout value.