Fix WebSocketProcessorFactory support for multiple framework instances
Improve the fix