Bugfix 1.2.1

Fixed buffer overrun in inbound message processing
Merge pull request #373 from jcmurray/master

Bugfix 1.2.1