Fix for #27

Added message parsing to begin block to allow it to handle parsing errors, and removed the assumption that the message was successfully parsed from the rescue block