Convert any timeout specified in the URL to an integer

At least with node 0.10 the timeout seems to be ignored by `get` if it is a string.