[QE-498] Fix port_open? on linux

The previous fix for QE-498 apparently relied on some
platform-specific behavior around async sockets. This goes back to the
old blocking socket method, but keeps the new behavior around socket
timeouts.