Initialize parent_pid in the Proc class init.
Refactor Payload to have a light constructor, add tests.
Simplify the serialization code a bit.