OK, I think I'm going to merge my version of the patch. If there really is a performance penalty I'd rather move the mlx transport stuff out-of-line first rather than make the code too unreadble with gotos and duplication etc. - R.