There is a way to access client's IP using the Atmosphere Framework's AtmosphereResource or WebSocket?
Here is the code:
AtmosphereResource.getRequest().getRemoteAddr()