server: make the setsockopt() error output a bit more informative