Core/Misc: Prevent crashing server with CMSG_TIME_SYNC_RESP and fixed some warnings