callback: get rid of unused vars
stat: get rid of unused vars
session: fixed keepalive reveferences to objects referred from C code