Adding SSL support

Adding SSL support. To test follow these steps:

```
openssl genrsa > privkey.pem
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1000
python manage.py trunserver --ssl-priv-key=privkey.pem --ssl-cert=cacert.pem
```

Also tested that the non-ssl server still works.