Prevent annoying MappingException with WebSocket apps only
Improve Fixes #1051