Modify HTTP logs in clients for safety and clarity

Refs #32

Implement method escape_ctrl_chars
Escape control characters in HTTP data logs
Remove misleading separators from HTTP logs
Cure disfunctional string decodings in some comds

String decodings where incorrectly used to deal with unicode
strings. Decoding now occurs only when printing to console
and only towards the encoding prefered by the user.