Correctes websocketresource to start correctly a new factory

...s also on wamp server protocol)