Added EBADF as a case to retry in socket_connect_addr.
fixed process_svr_conn so it will get a new socket before
retrying to connect after a failure. TRQ-2178