Fixes #1312: Add support for GlassFish 3/WebSocket/Servlet 3.0