Don't try to check whether invalid sockets are readable

this caused SIGBUS on FreeBSD
Fix ordering

FreeBSD wants non-option arguments to appear after option arguments