added headers for ssl