Modified generated protobuf classes so that optional fields are represented by nullable types. Uses the -p:detectMissing arg to protogen.exe

Implement sync and async tasks for Run and Spawn requests.
mkdir task command implemented