Support timeouts in milliseconds.

If timeout is less than 1 second, we calculate milliseconds and set
CURLOPT_TIMEOUT_MS option instead of CURLOPT_TIMEOUT.
Merge pull request #108 from p7s1digital/support-timeout-in-milliseconds

Support timeouts in milliseconds for Curl client.