HTTP encode URI before passing