Import previously included code and minor cleanups
Rename file
Display certificate chains under https tab