Update db.py

Improve SSL Security
- Best ciphers with max compatibility
- Add HTTP Strict Transport Security (HSTS)