COMETD-398 (Access client queue from RemoveListener and MaxQueueListener callback).

Reverted changes to RemoveListener, as they don't guarantee safe access to the session queue.