Implemented keepalive_maxcount
refactor keepalive to a module
Merge pull request #200 from net-ssh/keepalive-maxcount

Implemented keepalive_maxcount