commentary hints
move generic parts of of submission() to a utility routine, and
change the poll timeout to 10 seconds

fix log module id for utility routines
slight simplification by hiding error checking for thread-mutex ops
another checkpoint, adding structure around the certificate chain
and deserializing SCTs