Refactor WebSocketConnector to use Akka FSM