Crank Agent and Worker changes for end to end Ping

@intern-felicco 
@abnanda1