stdio to http