If you're starting fresh, I'd suggest you use [login to view URL] and node.js to get going quickly. Install nodejs and npm (it's a quick process. Grab the nodejs source from [login to view URL] and configure && make && sudo make install, and then grab npm with curl [login to view URL] | sh). Then just follow the instructions at [login to view URL] and you should have a realtime server and cross browser connection up and running in just a couple of minutes.