Unify error codes. setsockopt