Adding checks to CanTimeout in case a particular platform doesn't support setting the timeout on streams.
Merge pull request #54 from erikporter/master

Protecting against exceptions when setting stream timeout