This starts using CONTAINER_OF macro instead of inst_by_conn function wherever possible. It's better approach as the client instance is a container for parameters passed to the callbacks. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>