[API] URL Encode the URLs supplied for health monitoring

Follows RFC3986 allowed chars, encodes everything else but also includes
'%' to stop double-encoding

Change-Id: I07d925937b20a30d1f1fc1a79801d4c6f823e22c