Add Connection.create_transport method

This makes it possible to extend Connection class and use a customized
transport.