Some fixes to bitswap + dht

can move this to `socketutils_unix.go` or similar