The constructor initializes both `local_endpoint` and `remote_endpoint` to `None`. I was afraid that if for any reason `get_transport_info` get called before `set_socket` or `connect`, it would fail with `TypeError`. I think I can fix that by initializing both to `(0,0)` instead of `None`.