Fixes inconsistencies with field names and member layout in the HttpResourceHandler class