fix SOCKS[45] handling when only --with-socks[5] is provided