Cookies can grow the request headers beyond the default buffer size of 4096 bytes. To ensure no problems, we increase the buffer to 16k.
Also made a small change to the python startup handling, ensuring that there is always a tunnel configuration file as soon as the service successfully starts for the first time.