Initial commit of a few ideas

Nothings working yet. Just tests. Pub and Sub tests would work for
randomly started and stopped Pub servers and Sub clients. Didn't try
multiple clients yet. Got the 'Protocol' thing working thanks to a few
post on the net.