Fixed message parsing to accept different xml message forms. Agents now correctly connect and send messages to the server.
Merge commit '7739b8ee575169637f7256ffd0a9cd021bcb2d7a' into Agent/StateChanging

Conflicts:
	TeamNabf/NabfClientApplication/Client/ClientApplication.cs
	TeamNabf/NabfClientApplication/Program.cs