Update mqtranslate_core.php

Fix for the long lasting problems of dropping https connection on language switch. Solution taking from here - https://wordpress.org/support/topic/mqtranslate-has-problems-with-https by twisterss. Proved to work with latest wordpress version on production.