Using references instead of values for conversions.
Put some placeholder for serializing message ports and array buffers. This probably doesn't work.
Added what should be the real implemenation of this function. Once we get the correct bindings for MessageEvent, this should be revisited.
Deserializing correctly.