Use kNErrPermission for EEXIST and EXDEV.
Assert that setsockopt succeeds.