added base http server - not 100% tested