Adding support for AMI Logoff

Sending an AMI Logoff action currently results in a syntax error. This PR updates the lexer to correctly handle the Goodbye response generated by a Logoff, therefore allowing graceful triggered exit.