API: Change the way connection info are handled.

Instead of passing addr and addrLen, we are using opaque handles.
This will allow usage of DTLS.
The handles MUST uniquely identify a peer.