I currently have a Apache2 listening on port 80, and a homemade game server running on higher unregistered port (50214). I an rewriting the game in Javascript and planning on sending the network communication over websockets on port 80 to get around the firewalls that many companies and universities put in place.
How would I go about configuring a websocket server to listen for websocket connections on 80, and unpack them and forward them to the game server listening on 50214, without interfering with apache?
What websocket server implementation should I use? and how is this usually done?