Added more code to piper-http. Note that there are serious logic errors that need to be addressed.