Added socketTimeout option, which ensure that OS-level timeout is handled for all sockets handled by the library