SSL and formatting, closes #8