ib: fragment sent buf + many bugfixes