Why do this when the admirable Node.js-based http-console exists?
To begin with, not everybody is into Node yet, and so installing http-console is not as simple as 'gem install htty'.
Furthermore, http-console's spare UI is not as full-featured as it might be.
I have some killer features in mind for the near future.
Fork and contribute!