I pick Perl, but couldn't find a SockJS server implementation in that language. I could find one for socket.io though.
But seriously, writing a SockJS server is not an impossible task, feel encouraged!
Here's some reference material: http://sockjs.github.com/sockjs-protocol/sockjs-protocol-0.2... https://github.com/sockjs/sockjs-protocol