Send and receive postMessage commands.