Fixes #1320
glassFish 4 bark on jsr356, use native instead
Fix merge
Fixes #1316
Fixes #1312
use Servlet 3.0 with Grizzly WebSocket
Fixes #1312: Add support for GlassFish 3/WebSocket/Servlet 3.0
Final fixes for #1312
Fixes #1319
Fixes #1317
Improve fixes for #1317
Fixes Atmosphere/nettosphere#50
Close the connection immediately after registering statistics
Add missing headers