The server must be able to resolve you XXXXXXX.com site.
On Linux, you would make sure there is an entry in the ‘/etc/hosts’ file such as:
127.0.0.1 XXXX.com
Or make sure your internal dns resolution can do the work properly.
Up to you, the easiest is the hosts file.
Perhaps there should be a ticket to discuss allowing ‘localhost’ loop back and not going through tcp.
I’d like to point out that the (garbage) characters happen when using Mu and the plug-in is active site-wide. It works fine when not active ‘site-wide’ and only active for each specific blog.