Fix protocol issue and get working on IIS