Resets the component.
This method resets all HTTP headers to default values and resets the JSON parser.