Fixes a typo, adds an option for TLS.
Adds a token for each TCP connection instead of fd. Fixes #7.