Merge pull request #666 from KiNgMaR/write_http-ssloptions