Fixed Scala websocket integration #6