bug #5024 :  Encode the message passed as query parameter of the idle mechanism