C-library socket bindings for Red/System