Switch to new secure streams for https protocol