DO NOT MERGE [Extensions] Send large messages out of line

Use a shared memory handler to send messages bigger than 4096 bytes and
possibly optimize the data transfer.