url encode incoming query value