add exception handling to api endpoint
catch TypeError when testing for float
reject malformed alerts at the server
catch invalid characters when decoding snmptraps