added websocket_server

mostly works on mac osx - need to remove mysql
example from makefile