Fix swift TUNNELRECV data and length inconsistency problem

DO NOT MERGE YET