A good fix would be allowing "useSsl" in RestRequest to be public instead of only private. I had to change the default to false in order to make it work for me.