proper http request handling added
reworked to be more client friendly

instead web app friendly
update