Fixed some minor issues when working with https