fixed the tests
added gem
updated the code to work to get headers

new it get stuck on reading the chunk.