Refactor samples
Regen projects. Fixes inline linker flags
Add self-signed cert and enable SSL by default
Refactor samples
Add self-signed cert and enable SSL by default