[feature] change xsock_protocol interface