xapian-bridge C port

endlessm/eos-sdk#2463
Consider not using `g_strdup()` since `SOUP_METHOD_GET` and friends are all owned by the Soup library and the Soup documentation explicitly states that you are allowed to compare pointers rather than strings.