started the refactor of the general http/https logic to a communications class
cleaned up some formatting
fixed a bug where setting SSL to false gets ignored