SSL for Websockets and replaced PIL with Pillow