Changed unwrapFromTransport to support remote clients sending stringified payloads