Restructured sending replies to server. Fixed logging on outgoing messages. Some formatting.
Merge pull request #29 from dotKom/logging

Fixes for logging outgoing messages.