Introduce an platform specific struct io to be included in struct peer.