Add complete websocket server implementation
Fixes based on review
Broadcast out-of-date message to clients