Added flags for supplying certificate/key and TLS listener option.

Based on the suggestion in #94 I added the option to use the TLS listener along with some basic validation of the certificate flags.