Fix connection pooling error

Use the actual transport URL as the connection pool dictionary
key rather than the TransportURL object, since the object only
hashes to the same value if its id() is the same.