Further progress on HTTP layer & make all size datatypes consistent by using size_t everywhere.