Added custom function for https and ws