Being more JSON-friendly by not writing debug messages to stdout.

Debug messages like "wrong certificate" or "starting daemon" to stdout breaks compatibility with apps that expect a well-formated JSON output on stdout.