updated agent!
bin: better error handling in add_host
Properly set rabbitmq URI
lib: working around potential hazards