Use SSL to connect to PAUSE

Also, include a check for the case when dzil hasn't added $VERSION yet, and use 'dev' instead.