That's actually nice. Since stupid hearn implemented his "ddos protection" (is he really so stupid to not know what he would earn by touching this?) i think many left xt. This version could be a workaround.
But there should be a trusted forum member reviewing the code, preferably with a diff tool to be faster, and tell us if it is safe to switch.