Homeless advocates, elected officials battle over panhandling laws