Fix utf-8 decoding of client-side URLs

Change-Id: I0f4ea76b911e572405bcfbde23be74d29f7fd783