Backported https://github.com/cometd/cometd/pull/13.
Fixes COMETD-408 (Allow more detailed and consistent (JS vs Java) error handling).
Fixes COMETD-412 (Lazy channels inconsistencies).

Also updated dependencies versions.