Added IoCTX.append method with the possibility to specify the number of
bytes to use from the buffer.