local: add swapped operands support for LocalProxy

Re-submitted, ref #267