Added null checks for ModList packets

ModListRequestPacket and ModListResponsePacket were vulnerable to a null NetworkModHandler (i.e., it would crash the client), so I just added a check and continue if the NetworkModHandler is null.