Fixed kscope ad handling and certificate exchange #757