Updated XmlParser.

Added code to connect to the server, along with changed some method
names to comply with c# naming conventions.