$app referenced implements WampServerInterface, not WsServerInterface