Merge pull request #519 from tlex/dev

Deluge bugs: Labels were always lowercase, and SSL certs were always checked. Doesnt work with selfsigned certs
resync upstream on Sun May 11 13:10:43 EEST 2014