url updates, HTTP => HTTPS

Closes #87
diff --git a/README b/README
index 39abc20..8a14856 100644
--- a/README
+++ b/README
@@ -4,9 +4,9 @@
 libssh2 is a library implementing the SSH2 protocol, available under
 the revised BSD license.
 
-Web site: http://www.libssh2.org/
+Web site: https://www.libssh2.org/
 
-Mailing list: http://cool.haxx.se/mailman/listinfo/libssh2-devel
+Mailing list: https://cool.haxx.se/mailman/listinfo/libssh2-devel
 
 License: see COPYING
 
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index f5d9c09..94525cb 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -11,7 +11,7 @@
 This release includes the following security advisory:
 
  o diffie_hellman_sha256: convert bytes to bits
-   CVE-2016-0787: http://www.libssh2.org/adv_20160223.html
+   CVE-2016-0787: https://www.libssh2.org/adv_20160223.html
 
 This release includes the following bugfixes:
 
diff --git a/docs/BINDINGS b/docs/BINDINGS
index b97758f..471f9be 100644
--- a/docs/BINDINGS
+++ b/docs/BINDINGS
@@ -10,16 +10,16 @@
   https://github.com/karelia/libssh2_sftp-Cocoa-wrapper
 
 Haskell
-  FFI bindings - http://hackage.haskell.org/package/libssh2
+  FFI bindings - https://hackage.haskell.org/package/libssh2
 
 Perl
-  Net::SSH2 - http://search.cpan.org/~rkitover/Net-SSH2-0.45/lib/Net/SSH2.pm
+  Net::SSH2 - https://metacpan.org/pod/Net::SSH2
 
 PHP
-  ssh2 - http://pecl.php.net/package/ssh2 
+  ssh2 - https://pecl.php.net/package/ssh2
 
 Python
-  pylibssh2 - http://www.wallix.org/pylibssh2-project/
+  pylibssh2 - https://pypi.python.org/pypi/pylibssh2
 
 Python-ctypes
 
diff --git a/docs/INSTALL_AUTOTOOLS b/docs/INSTALL_AUTOTOOLS
index bc5a0eb..b469533 100644
--- a/docs/INSTALL_AUTOTOOLS
+++ b/docs/INSTALL_AUTOTOOLS
@@ -284,7 +284,7 @@
  * --with-libgcrypt-prefix=DIR
 
 	libssh2 can use the Libgcrypt library
-	(http://www.gnupg.org/) for cryptographic operations.
+	(https://www.gnupg.org/) for cryptographic operations.
 	Either Libgcrypt or OpenSSL is required.
 
 	Configure will attempt to locate Libgcrypt
@@ -298,7 +298,7 @@
  * --with-libssl-prefix=[DIR]
 
 	libssh2 can use the OpenSSL library
-	(http://www.openssl.org) for cryptographic operations.
+	(https://www.openssl.org) for cryptographic operations.
 	Either Libgcrypt or OpenSSL is required.
 
 	Configure will attempt to locate OpenSSL in the
diff --git a/docs/INSTALL_CMAKE b/docs/INSTALL_CMAKE
index 7040370..d2d7169 100644
--- a/docs/INSTALL_CMAKE
+++ b/docs/INSTALL_CMAKE
@@ -47,8 +47,8 @@
  * `CRYPTO_BACKEND=`
 
     Chooses a specific cryptography library to use for cryptographic
-    operations.  Can be `OpenSSL` (http://www.openssl.org),
-    `Libgcrypt` (http://www.gnupg.org/), `WinCNG` (Windows Vista+) or
+    operations.  Can be `OpenSSL` (https://www.openssl.org),
+    `Libgcrypt` (https://www.gnupg.org/), `WinCNG` (Windows Vista+) or
     blank to use any library available.
 
     CMake will attempt to locate the libraries automatically.  See [2]
@@ -161,14 +161,14 @@
         Libssh2
         URL <libssh2 download location>
         URL_HASH SHA1=<libssh2 archive SHA1>
-	INSTALL_COMMAND "")
+        INSTALL_COMMAND "")
 
     ExternalProject_Add(
         MyProject DEPENDS Libssh2
         SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src
         INSTALL_COMMAND "")
 
-[1] http://www.cmake.org/cmake/resources/software.html
-[2] http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html
-[3] http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#package-registry
-[4] http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html
\ No newline at end of file
+[1] https://www.cmake.org/cmake/resources/software.html
+[2] https://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html
+[3] https://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#package-registry
+[4] http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html
diff --git a/example/subsystem_netconf.c b/example/subsystem_netconf.c
index 96ef54a..82c4941 100644
--- a/example/subsystem_netconf.c
+++ b/example/subsystem_netconf.c
@@ -250,7 +250,7 @@
         goto shutdown;
     }
 
-    /* NETCONF: http://tools.ietf.org/html/draft-ietf-netconf-ssh-06 */
+    /* NETCONF: https://tools.ietf.org/html/draft-ietf-netconf-ssh-06 */
 
     fprintf(stderr, "Sending NETCONF client <hello>\n");
     snprintf(buf, sizeof(buf),
diff --git a/libssh2.pc.in b/libssh2.pc.in
index 084918a..9663816 100644
--- a/libssh2.pc.in
+++ b/libssh2.pc.in
@@ -8,7 +8,7 @@
 includedir=@includedir@
 
 Name: libssh2
-URL: http://www.libssh2.org/
+URL: https://www.libssh2.org/
 Description: Library for SSH-based communication
 Version: @LIBSSH2VER@
 Requires.private: @LIBSREQUIRED@
diff --git a/nw/GNUmakefile b/nw/GNUmakefile
index 0a1d0b3..8899fdd 100644
--- a/nw/GNUmakefile
+++ b/nw/GNUmakefile
@@ -38,7 +38,7 @@
 TARGET	= libssh2
 VERSION	= $(LIBSSH2_VERSION)
 CPRIGHT	= Copyright (c) $(LIBSSH2_COPYRIGHT_STR)
-WWWURL	= http://www.libssh2.org/
+WWWURL	= https://www.libssh2.org/
 DESCR	= libssh2 $(LIBSSH2_VERSION_STR) ($(LIBARCH)) - $(WWWURL)
 MTSAFE	= YES
 STACK	= 64000
@@ -223,7 +223,7 @@
 OBJECTS := $(patsubst %.c,%.o,$(CSOURCES))
 ifeq ($(LIBARCH),CLIB)
 # CLIB lacks of snprint() function - here's a replacement:
-# http://www.ijs.si/software/snprintf/
+# https://www.ijs.si/software/snprintf/
 OBJECTS += snprintf.o
 vpath %.c $(SNPRINTF)
 endif
@@ -388,7 +388,7 @@
 	@echo $(DL)** All your changes will be lost!!$(DL) >> $@
 	@echo $(DL)*/$(DL) >> $@
 	@echo $(DL)#define VERSION "$(LIBSSH2_VERSION_STR)"$(DL) >> $@
-	@echo $(DL)#define PACKAGE_BUGREPORT "http://sourceforge.net/projects/libssh2"$(DL) >> $@
+	@echo $(DL)#define PACKAGE_BUGREPORT "https://github.com/libssh2/libssh2/issues"$(DL) >> $@
 ifeq ($(LIBARCH),CLIB)
 	@echo $(DL)#define OS "i586-pc-clib-NetWare"$(DL) >> $@
 	@echo $(DL)#define NETDB_USE_INTERNET 1$(DL) >> $@
diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h
index ae691ad..b4296a2 100644
--- a/src/libssh2_priv.h
+++ b/src/libssh2_priv.h
@@ -65,8 +65,8 @@
    consistent names of these fields.  While arguable the best would to
    change libssh2.h to use other names, that would break backwards
    compatibility.  For more information, see:
-   http://www.mail-archive.com/libssh2-devel%40lists.sourceforge.net/msg00003.html
-   http://www.mail-archive.com/libssh2-devel%40lists.sourceforge.net/msg00224.html
+   https://www.mail-archive.com/libssh2-devel%40lists.sourceforge.net/msg00003.html
+   https://www.mail-archive.com/libssh2-devel%40lists.sourceforge.net/msg00224.html
 */
 #ifdef HAVE_POLL
 # include <sys/poll.h>
diff --git a/src/sftp.c b/src/sftp.c
index c142713..7c44116 100644
--- a/src/sftp.c
+++ b/src/sftp.c
@@ -1527,7 +1527,7 @@
                 if (chunk->offset != filep->offset) {
                     /* This could happen if the server returns less bytes than
                        requested, which shouldn't happen for normal files. See:
-                       http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02
+                       https://tools.ietf.org/html/draft-ietf-secsh-filexfer-02
                        #section-6.4
                     */
                     return _libssh2_error(session, LIBSSH2_ERROR_SFTP_PROTOCOL,
diff --git a/src/wincng.c b/src/wincng.c
index 635b3e3..d3271b3 100755
--- a/src/wincng.c
+++ b/src/wincng.c
@@ -861,7 +861,7 @@
     memset(key, 0, keylen);
 
 
-    /* http://msdn.microsoft.com/library/windows/desktop/aa375531.aspx */
+    /* https://msdn.microsoft.com/library/windows/desktop/aa375531.aspx */
     rsakey = (BCRYPT_RSAKEY_BLOB *)key;
     rsakey->BitLength = mlen * 8;
     rsakey->cbPublicExp = elen;
@@ -1179,7 +1179,7 @@
     memset(key, 0, keylen);
 
 
-    /* http://msdn.microsoft.com/library/windows/desktop/aa833126.aspx */
+    /* https://msdn.microsoft.com/library/windows/desktop/aa833126.aspx */
     dsakey = (BCRYPT_DSA_KEY_BLOB *)key;
     dsakey->cbKey = length;
 
@@ -1903,7 +1903,7 @@
         return -1;
 
 
-    /* http://msdn.microsoft.com/library/windows/desktop/aa375531.aspx */
+    /* https://msdn.microsoft.com/library/windows/desktop/aa375531.aspx */
     rsakey = (BCRYPT_RSAKEY_BLOB *)key;
     rsakey->Magic = BCRYPT_RSAPUBLIC_MAGIC;
     rsakey->BitLength = m->length * 8;
diff --git a/vms/libssh2_make_kit.dcl b/vms/libssh2_make_kit.dcl
index dceca4f..6a14958 100644
--- a/vms/libssh2_make_kit.dcl
+++ b/vms/libssh2_make_kit.dcl
@@ -194,7 +194,7 @@
 $ write pt ""
 $ write pt "libssh2 is an open source client side library that aims to implement"
 $ write pt "the SSH protocol. This is the OpenVMS port of that library."
-$ write pt "Further information at http://www.libssh2.org."
+$ write pt "Further information at https://www.libssh2.org."
 $ write pt ""
 $ write pt "1 NEED_VMS83"
 $ write pt "=prompt OpenVMS 8.3 or later is not installed on your system."