#26 separate httpServer to getReuqest and putResponse