[feature] export xio/sock.h and xio/poll.h to c++