Update snmp.py

Change for SNMPv3 to work correctly
Merge pull request #863 from jjagodzinski/patch-1

Update snmp.py