set timeout to ini default timeout if not set

Not sure if ini_get("default_socket_timeout") always returns a proper value but this should do the trick
Merge pull request #5 from glaslos/patch-2

set timeout to ini default timeout if not set