Send more debug information in hello command

Allows for easier server-side debugging by sending the equivalient of an HTTP
Agent string.

Other notable change is handling a response that comes in over multiple packets. This basically had a FIXME comment.