Legislation seeks to crack down on local speed traps