Issue #12: Fix double decoding of request paths.
Issue #11: Make the curl http timeout configurable.