another draft
changes for ssl serving