added modified http server (still needs changes)