As far I understand, it is a LuaSocket question.
The function request() in Spore/Protocols.lua calls
http://w3.impa.br/~diego/software/luasocket/http.html#request (generic
form).
And LuaSocket supplies too
http://w3.impa.br/~diego/software/luasocket/tcp.html#settimeout
François