Experimental bugfixes.
Merge branch 'local_27' into bugfix
BUGFIX: Properly escape service URL parameters (don't just tack on the ticket).

Also, issue a WARN log entry if the service URL already contained a `ticket`, as this could potentially
be someone up to no good.