Test for socket timeout when reading and writing data to stream.
Test for setting stream timeout and throw exception if fails.
Merge pull request #56 from seansullivan/master

Timeouts not properly checking timeout status of stream connection when performing reading and writing.