Fix bug in socks-open-proxy, TIMEOUT or EOF when SOCKS5 not supported