Added HTTPS support for both DLS and BFS