https is no longer required in DEBUG mode (more fixes)