Proxifier code fixes

Because NULL is to evil.