plain http server snippet