fix typo
add http header parsing
replace @property through __get__ and __set__