Change session_established callback signature (fixes #13)