simple web server that always returns the specified return code