Core/Server: Use nullptr instead of 0 where pointers are expected