weak typing here which may provoke some errors ?

modify AbstractPayload::$mask is boolean;
modify AbstractPayload::$maskKey is array();

https://github.com/Wisembly/elephant.io/pull/49#discussion_r15751815