[feature] add flagset for sockbase
[feature] add XDEBUGLV option for xsocket
[feature] add log.h