Server channel is being used instead of client one over ssl, close #1682
comment