>>IF web server is required at any cost, the web server has to temporary
>>installed and lite weight.
Let me put it like that - since you explicitly need the HTTP protocol, you can't do that without a web server. I had that requirement recently, and the one I chose for that because it pretty much works out of the box is that one:
http://www.hiawatha-webserver.org/