migerated to http4. using http4Branch.

Please review the code. There are some formatting. Which includes removal of unwanted spaces and lines.