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.