Add client idle timeout

Adds an option to configure a timeout for idle connections, so server can disconnect idle clients that aren't making requests.