adds config option for setting protocol of cdn
Bump to 0.3.1