Merge pull request #415 from povilasb/0.11-devel-fix-includes

Adds missing include.
Merge pull request #417 from leecoder/0.11-devel

Improvements of async connection timeout