get basic stuff working

* set width to 80 characters
* actually allow connecting to arbitrary host/port