Add serve() function to serve local directory via http