Part of https://git.lix.systems/lix-project/lix/issues/949. This also fixes a bug where our SO_REUSEADDR wasn't done before bind was called and thus didn't work as intended. Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: Ie69fd594a32d7a6f538fb66d9d2cac6fe117d563