Redirect issue with Really Simple SSL and multisite

How to solve one version of too many redirects problem when moving to HTTPS

Code Multisite SSL WordPress