Api module for libhttp's client