escape URL for shortener API