Rewite it use in OO form?
Add proper chunk encoding parser
Add file out put saves raw dumo to file out put prettyness to screen
many more .....