Update components/ERestController.php

Set the httpsOnly flag to false by default