Make sure proxy works with ssl