Hosts: Made host searching more durable against rougue data.
Hosts: Added a message at debug 2 to say when invalid data is recieved.