Exclude proxies that don't send r=1.

Most proxies should have refreshed themselves since a9c43cf5.
Check that socket is defined before checking bufferedAmount.

client_s and relay_s are not always both defined now. This was the cause
of #9009.