Improve XDR support
More work on solid XDR support with the new protocol
Remove console