Fix spelling in comment and log printout.
- Remove TO bit, this signalling method was not standardized.
- Remove unused first_query and tls_ok states.
- Remove sign-compare warning in tls packet send code.
- - Fix spelling in comment.
+ - Fix spelling in comment and log printout.
25 March 2019: Wouter
- Print IP address when bind socket fails with error.
