add response timeout for socket connction
Merge pull request #13 from sophiaso/master

add response timeout for a socket connection