Fixed whitespace and updated year.
Renamed log ident to td-client.
Added support for broker hostname resolution.