[FIX] Issue #6 (Delegate receives too much unmasked data)

A separate branch for this fix.