Declare constants for default ssh and http ports.
Add TLS support for http connections.
Add cert/ dir to .gitignore.