Replacing dependency javax.servlet-api with javaee-web-api which comes with all classes of the JEE 7 spec, including websockets.
Work in progress: trying to add support for websockets (JSR-356).
Work in progress: trying to add support for websockets (JSR-356).
Work in progress: adding support for websockets (JSR-356).

Almost done. The only problem now is that it doesn't work in Glassfish 4. For some esoteric reason, the user properties stored via ServerEndpointConfig.getUserProperties() seem to fall into a black hole never to return. They should be present in Session.getUserProperties() when Dagger.onOpen() is called, but guess what, they're not. Curious how it works fine in Tomcat 8.
Fix websocket support in Glassifsh 4: copy request headers from the endpoint config to the session.
Added MaxAge cookie option.
Merge branch 'develop' into feature/websocket-jsr356
MaxAge now extends AbstractCookieOption.
Merge branch 'feature/websocket-jsr356' into develop