      */
 
     public var listeners : [ActorRef] = [ActorRef]()
+    
+    public required init(context: ActorSystem, ref: ActorRef) {
+        super.init(context: context, ref:ref)
+    }
     
     override public func preStart() {
         super.preStart()

    */
    
    deinit {
        self.this ! Disconnect(sender: nil)
    }
    
}
     */
    
    func connected(socket: WebSocket) -> Receive {
        return {[weak self](msg : Actor.Message) in
            switch(msg) {
            case let c as SendMessage:
                socket.writeString(c.message)
