accelerate ws4py's masking.