decode_hybi is a staticmethod so it shouldn't have self as the first parameter.