Add option to specify timeouts in the config file

I've added support for config properties tunnelTimeout, falling back to timeout. Just in case there will be separate timeouts for different components in future.