Added User-Agent header to cURL request

Added User-Agent header to cURL request as WordPress.com blogs now
require this to be set before accepting an XML-RPC request.
Added User-Agent header to requests without cURL

Added User-Agent header to requests without cURL as WordPress.com blogs
now
require this to be set before accepting an XML-RPC request.
Removed debugging code
Merge pull request #10 from WarrenMoore/master

Add User-Agent header to XML-RPC requests