BF: fix IPv6BanPrefix test cases
BF: don't import socket twice