Creating a wrapper for the Fetch API as an HTTP client