[client] ensure to set HMAC mode by default only when an HMAC key is used
[test suite] add client rc file processing tests (digest only for now, more coming)
Integrated the log module in the whol client source code.

perror() is also replaced by log_msg()
Merge remote-tracking branch 'upstream/master'