io: add methods to set I/O handlers on AioContext