Add read,pread,write,pwrite support to the V2 protocol.