made idle timeout settable
Merge pull request #183 from mhanney/master

made idle timeout settable