xapian-bridge C port

endlessm/eos-sdk#2463
This does the same thing as the original code, so no doubt it's correct, but I'm wondering why we ignore `LISTEN_FDS` in favor of `SYSTEMD_LISTEN_FD`?