tls code review feedback integration

Addressing a bunch of little stuff (typos, style, etc)