Add set_timeout and get_timeout methods
Merge pull request #24 from blackwithwhite666/master

Add set_timeout and get_timeout methods