Rewrote WebSocket.scala to 'package object websocket'.