Ability to setup different values for connection and idle timeouts

Commit adds an option `idle` to set timeout for connection idle different from connection timeout.