[XIFF 2.0.0-beta4] Closing Session Warning due to bad prefix

I’ve been working on a chat client that uses the XIFF 2.0.0-beta4 library and have run into a snag where whenever a user connects a warning is generated:

2008.02.21 15:21:14 Closing session due to bad_namespace_prefix in stream header. Prefix: null. Connection: org.jivesoftware.wildfire.net.SocketConnection@125ee71 socket: Socket[http://addr=/10.189.55.83,port=3858,localport=5222|http://addr=/10.189.55.83,por t=3858,localport=5222] session: null

The connection is being established using the “flash” prefix:

var connection = new XMPPConnection();

connection.connect(“flash”);

We’re using Widefire 3.1.1.

Thanks for any insights you can give me.