Some support classes for easier HTTP API  access.