Properly encodes special characters in live monitoring url.

Without encoding special characters, urls with spaces will cause exceptions. Also, some log messages are improved.
Merge pull request #626 from steventebrinke/master

Properly encodes special characters in live monitoring url.