Merge pull request #3890 from pks-t/pks/stransport-static-linkage stransport: make internal functions static