Added unit tests for socket timeouts and found a bug with timeouts on stream.
Added unit tests for socket timeouts and found a bug with timeouts on stream.

basho/riak_search,wwezhuimeng/riak_search,wwezhuimeng/riak_search,basho/riak_search,xuejianhai/riak_search,xuejianhai/riak_search