Add http requests wrapper.
Merge with dev.