Fix typos in ssladapter.py

- Check that `urllib_ver` is not None, instead of `urllib3`
- Do version comparison only if `urllib_ver` is *not* "dev"

Fixes #325. Original work by @sidprak.
Enable the overriding of `assert_hostname` on TLSConfig

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Ship 0.5.1

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #347 from aanand/override-assert-hostname

Enable the overriding of `assert_hostname` on TLSConfig
Merge pull request #349 from bfirsh/ship-0.5.1

Ship 0.5.1
Stop TLS sockets being closed when attaching

When calling attach_socket, the response is garbage collected,
which triggers a close method on the file object, closing the socket.
This stop the response from being garbage collected until we've
finished with the underlying socket.

Fixes #350

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Ship 0.5.2

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #352 from bfirsh/fix-tls-sockets-being-closed-when-attaching

Stop TLS sockets being closed when attaching
Merge pull request #353 from bfirsh/ship-0.5.2

Ship 0.5.2
Fix attaching with UNIX sockets

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Ship 0.5.3

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #355 from bfirsh/fix-attaching-to-unix-sockets

Fix attaching with UNIX sockets
Merge pull request #356 from bfirsh/ship-0.5.3

Ship 0.5.3