Simplify hostname code a bit.
Handle multiple packets for protocol initialization.

Also assumes failure in the case that anything but the acceptable response is seen.