serve or receive files from shell via a small HTTP server