Didn’t really need sstream.h here.
Some cleanups to protocol.h.
Don’t release controllerPausedHandler twice.