Fixed insert script bug, added SSL support, fixed update address info.
pulling in changes from the baseline.