Added error handler to greeting packet parser.