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.