Update the Atmosphere dependency to 2.1.6 and fix plugin compatibility issues.
Update JavaScript client version to 2.2.1 and also make the plugin compatible with the Asset Pipeline plugin