Proxy type selection

also fixes #963
Wouldn't it be better to just call it ``None`` instead of ``Direct Connect``, which is a bit strange?