[I/OAT]: Rename cleanup_rbuf to tcp_cleanup_rbuf and make non-static