Factor out bits of the worker protocol to use elsewhere (cherry picked from commit 4b1a97338f) Change-Id: If93afa0f8b1cf9b0e705b34fa71e6fd708752758
4b1a97338f
If93afa0f8b1cf9b0e705b34fa71e6fd708752758