Implement fancy local html5mode server