change header size and timeout lenght