fix git link to use https, not git.
remove useless C function
Go back to use unsafe(Dupable)PerformIO instead of inlinePerformIO for creating a securemem

allocation and inlinePerformIO are not a good thing to mix.