Use a cheaper test to see if a socket is available, re: Issue #40.