Fixes trash in the header for SSL