https://issues.apache.org/activemq/browse/AMQNET-284

Use the right parser for the Version field.
Add some debug logs for use while testing 1.1 compat.
diff --git a/src/main/csharp/Protocol/StompWireFormat.cs b/src/main/csharp/Protocol/StompWireFormat.cs
index 2067a40..2f4ce08 100644
--- a/src/main/csharp/Protocol/StompWireFormat.cs
+++ b/src/main/csharp/Protocol/StompWireFormat.cs
@@ -187,13 +187,19 @@
 
         protected virtual Command ReadConnected(StompFrame frame)
         {
+            Tracer.Debug("CONNECTED command: " + frame.Command + " headers: ");
+            foreach(string key in frame.Properties.Keys)
+            {
+                Tracer.DebugFormat("   property[{0}] = {1}", key, frame.Properties[key]);
+            }
+
             string responseId = frame.RemoveProperty("response-id");
 
             this.remoteWireFormatInfo = new WireFormatInfo();
 
             if(frame.HasProperty("version"))
             {
-                remoteWireFormatInfo.Version = Int32.Parse(frame.RemoveProperty("version"));
+                remoteWireFormatInfo.Version = Single.Parse(frame.RemoveProperty("version"));
 
                 if(frame.HasProperty("session"))
                 {