add socketpair

Signed-off-by: Weiping Pan <panweiping3@gmail.com>