fixed SSL decoder