Fix HTTP client regression
Fix Date constructor issue (uninitialised variable) (fix #408)