add websocket support and some test code
upgrade junit version to 4.8.