In sockopt, return values fixed.
Minor changes in error messages...
Added CHECK_GROUP and CHECK_GROUP_ACCES macros