lib: Add support for libsoup 2.47.3’s new SoupServer API

This is optional, and does not bump the libsoup-2.4 dependency from
2.37.91.