Protocol helpers for Geph4. Will grow significantly as more duplicated protocol functionality moves out of geph4-exit and geph4-client into here.