Fix running behind proxy