Split NativeFunctions and SocketIOClient.Handler implementations.