HTTP utilities and exceptions.