Remove PHT from clients that can handle HTTPS

Let plugin handle https connections also for PHT client