I couldn't introduce new gems into a legacy codebase, so I rolled my own RESTful-ish HTTP client