daemon: Use number instead of ENOPROTOOPT (win32 do not know this define)