Rails Engine Should Use Protocol-Relative URLs

Issue #12 fixed this issue for the standalone server, but the same problem exists in the Rails Engine.