very rought working version of the server which replicates received messages and sends them out to all clients
TODO:
1) do not like goto stuff
2) do not send a message to a sender
3) need to fix logging
4) interface is not a good one
5) add options to init the server differently