updated libraries, connect using https, cleanups