Have python3 properly handle connection refused exceptions.

and carry remote IP address in socket connect exception object