First working local chat-server

only works on local machines