fix(develop): fix detection of development mode
fix(protocol): do not force HTTPs