added license header
added license header
normalized debug messages by placing the daemon name in brackets. return early, if daemon doesn't respond with version message.