Fix stupid bugs from the listen(2) change.