LearnBoost/websocket.io — pull request #22 by nicokaiser (2012-02-27 13:19:18+00:00)
Title: Method writeUInt16BE missing in Node 0.4

This is taken from the ws module, they also seem to workaround this like that.