Fixed BOSH mediator issues

[#64051610]

Signed-off-by: Mike Laming <mike@cloudcredo.com>