Prevent GlassFish4/jsr356 NPE => Out Of Memory Error with Session => https://java.net/jira/browse/TYRUS-175