Improving comments.
Making the daemon more tolerant to incomplete requests that may not have required authentication.
Simplifying mock strategy.