a bit bean refactoring to support total customization via
webSocketConfig exclusion (useCustomConfig=true), if needed