fixed strict standards warnings in plugins and added better https detection to the uri class