swrap: add basic support for fd-passing via SCM_RIGHTS