Merge _connect.py and _server.py in transports.py

With this, transports.py becomes the file holding the code
to create and to manage transports.