Testing set up
Refactored xml parsing
Catching xml parsing error and returning failure in callback
Catching json syntax exception and returning in callback
Moved setting of URLConnections request body
Added constructor with request body
Added normalize to XML document
Default timeout set to 500ms
Merge branch 'dev'