Added support for mixed mode

Added support for mixed model (both HTTP and HTTPS connectors on different ports)