As a corollary to https://github.com/ocaml-multicore/eio/issues/322, it would be useful to provide `getsockopt()` functionality.