Rework bitswap client and server (#12686)