Demo code using Socket IO and the bindings available in Java