[feature] adjust xsocket setopt and getopt API
[feature] fix
[feature] xep_setopt and xep_getopt