encode proxy url