Making to ws to accept https requests