Add the _connect and default methods

The _connect method is used to connect to the server.
All the server side commands use the default command method. What this
does is simply send the command to the server and display whatever the
server sends back.