Fixed whitespace and updated year.
Renamed log ident to td-client.
Added support for broker hostname resolution.
Avoid use of getaddrinfo_a as it is not available in uClibc.