Add TimeThread
Fix NetworkBuffer::read memory reallocation