update keepalive definition
Merge pull request #36 from michaelfung/master

update keepalive definition