add ipsets support, and add binary_search