Fix broken setProxy() params