feature: implemented missing pattern in SocketIO.encode.