Zerogw is an fast HTTP server with backend protocol that uses zeromq as transport. Zerogw grown from web game industry, so it supports websockets with fallback to longpolling, and a few very powerful websocket-related features which help to write very efficient chat, gaming and other near real-time applications.
git clone git://github.com/tailhook/zerogw
sudo add-apt-repository ppa:tailhook/zerogw sudo apt-get install zerogw
yaourt -S zerogw