Begin logging refactor.
Add debug logging.
Remove unrelated change to clientTimeout
Document exported SetLogger function.
Improve SetLogger documentation.
Merge pull request #15 from rlmcpherson/logging_refactor

Logging refactor. Closes #14