merge of #3112 r.http() https access not working on OSX