21 jul. 2017 - Maybe you can try this: $opts = [ "https" => [. instead of $opts = [ "http" => [. You can also try this.