Merge pull request #35 from thabach/master

Set the contentLength on the AtmosphereRequest.
Switch to SNAPSHOT
Fix the test
Fix for #37 #17
Add missing class
More check for invalid state
Improve performance: honor session support, avoid context lookup
Fix for 20
Fix missing line
Fixes for #38
Log error
Prevent multiple close
Bump to latest
Improve write performance by avoiding String conversion
Refactor, no functional change
Sync with Atmosphere Chat
Prepare release
[maven-release-plugin] prepare release nettosphere-project-2.0.0.RC2
[maven-release-plugin] prepare for next development iteration
Bump release