http redirect to https on the same port

closes #401