Make compatible with basic http server