[WFCORE-82] Additional validation for HTTP interface where SSL is requested.

Will address cleanup as separate task.