remove access to each char tagged by 'TODO' previously
remove unneessary class and the corresponding test
add fail message for 'chunked' type message
make some methods private
fix a bug to call setHeaderHasBeenSet() method when content type is not set