simple http server using sockets, this currently supports static webpages only