Add type hints to HTTP abstractions.