Improved incoming packet error checking

an invalid request shouldnt be possible, and will close the connection.
However, it needs to first communicate with the atm that the request was invalid,
otherwise the atm waits forever for a response from the bank. Here, after sending
the message, the connection is terminated