HTML5 WebSocket server side API implements using Apache Mina 3.0