iocore: REP/REQ model, based on callbacks