Support https in layersconfig

Fix for

 Issue #152