Parse out one of the three sets of namespaces.
r.skipSpaces();
// Namespace = nil / "(" 1*( Namespace_Element) ")"
if (r.peekByte() == '(") {
Vector v = new Vector();
r.readByte();
do {
Namespace ns = new Namespace(r);
v.addElement(ns);
} while (r.peekByte() != ')");
r.readByte();
Namespace[] nsa = new Namespace[v.size()];
v.copyInto(nsa);
return nsa;
} else {
String s = r.readAtom();
if (s == null)
throw new ProtocolException("Expected NIL, got null");
if (!s.equalsIgnoreCase("NIL"))
throw new ProtocolException("Expected NIL, got " + s);
return null;
}