How does your port differ from QuakeJS? : http://www.quakejs.com/
The source code is at: https://github.com/inolen/quakejs
It has working networking through WebSockets. Might want to check that out.
The source code is at: https://github.com/inolen/quakejs
It has working networking through WebSockets. Might want to check that out.