move some functions to helper.go from gosnmp.go, fix changes chris mentioned