added https port to initwithurl connect