Beginnings of connection pooling configuration.

Please do not merge in just yet - I want to fiddle with the parameters further. However the PR represents the approach and provides a placeholder for this activity.