         client_rtmfp.addEventListener(ProgressEvent.SOCKET_DATA, function (event:ProgressEvent):void {
             dispatchEvent(event);
         }, false, 0, true);
+        client_rtmfp.addEventListener(RTMFPSocketClient.PEER_CONNECT_ACKNOWLEDGED, function (event:Event):void {
+            /* Empty... here for symmetry. */
+        }, false, 0, true);
+ 
         recv_stream.client = client_rtmfp;
         recv_stream.play(DATA);
     }

    }
}

dynamic class RTMFPSocketClient extends EventDispatcher
{
    public static const PEER_CONNECT_ACKNOWLEDGED:String = "peerConnectAcknowledged";

            puts("RTMFPSocket: connected to peer");
            connected = true;
            dispatchEvent(new Event(Event.CONNECT));
            peer.send("setPeerConnectAcknowledged");
            return true;
        };
        send_stream.client = client;
