network plugin: Use a global buffer and fill it as much as possible.