Add a configure(config) method to EndpointMapper
Fixes #1387
Fixes #1387
Fixes #1380
Port fixes
Add a streaming adapter
Try loading the class first using the AtmosphereFramework
Simplify the code
Fixes #1388
Check for null
Fixes #1382