Simulate lightweight HTTP-like requests between renderer and main process in Electron applications with MessagePort, with structured and modular design.