add read/write timeouts to net2
add tests for net2 timeouts
Merge pull request #57 from vadimg/master

add read/write timeouts to net2