Fix parsing of app message. Send ack.