Utility for finding any random free socket.