fun getConnection(): Connection
Determine whether there is currently a thread-bound ConnectionSpec, using it if available, falling back to the statically specified "connectionSpec" property else.
See Also #doGetConnection