Separated Loggin and Tweet
Various Improvements

- TLS 1.2 for more security
- cookie file set in a way that lets the script be used from cron
- messages go to STDERR