[feature] rex_gen posix socket