=act #3535 Report CommandFailed for early IOExceptions

To reproduce the failure you have to manually turn on the firewall
for the server port. That causes the connect to throw a
"java.net.SocketException: Permission denied".