Update hash_map and fmt usages

Fixes compilation on latest nightly (ec28b4a6c)

Depends on https://github.com/carllerche/curl-rust/pull/24 and https://github.com/chris-morgan/rust-http/pull/167