added timeout query string parameter support

The "timeout" query string option can be used to modify the timeout (in milliseconds). For example, "...?timeout=5000&url=..."