Fixed bugs on on_connect_handler not sending a parameter.

With the reorganization of cms.io, the parameters (remote service
coord) sent to the on_connect_handlers went missing causing crashes
when triggered (only when a worker went offline and online again).