Go vet fixes

A few fixes found by "go vet"

The fix for req.State is the only one I wasn't sure of.