fixes for problems found by go vet
fix
Merge pull request #96 from mailgun/jeremy/vet

Fixes for problems found by go vet