Cleanup port reading
Add publish_loop
Add simple client and get a connection going