some fix to segfault
the ability to download qqwry.dat is very important
rewrite ipdb with RAII