Worker IO refactor4

Creating and using an AgentReceiver class to deserialize calls from worker to agent
@davidfowl @abnanda1 
Cts? use ManualResetEventSlim for such async  stuff