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

Modified RemoveListener to have also the queue as parameter.
Also made sure that the queue passed to RemoveListener is not
concurrently modified by other threads.
COMETD-398 (Access client queue from RemoveListener and MaxQueueListener callback).

Modified MaxQueueListener to have also the queue as parameter.