Added variant and better date and time handling
404 will now be raised per default.

Use the OnError event to prevent the 404 from being raised.

procedure RestError(const AMessage, AErrorMessage: string; AErrorCode:
integer; var ARetryMode: THTTPRetryMode);
begin
if AErrorCode = 404 then
ARetryMode := hrmIgnore;
end;