Improve fixes for #1317
Fixes Atmosphere/nettosphere#50
[maven-release-plugin] prepare release atmosphere-project-2.0.1
[maven-release-plugin] prepare for next development iteration
Close the connection immediately after registering statistics
Add missing headers