added parsing for ssl