Native messaging host support (#2738)