Deal with alread-normalized ints

[See #1308][See #1304]
Don't bother nil check, to_s handles it
Merge branch 'bug/optint_empty' into feature/stage_encoding
Move encoding into handle_connection

* Allows payloads that override generate_stage to still take advantage
  of stage encoding
* Also adds doc comments for a few methods