added server

first version of server, can relay messages to all connected clients