Make thread safety configurable

Had some free time and thought I'd give this a crack. Its very basic and should allow folks to use their preferred pooling gems. Should address: https://github.com/excon/excon/issues/330

The test is pretty rudimentary but I think proves the feature.