Refactoring
Work on websocket client and router, passing haxe serialized messages.