Fixing the segfault when get'ting an HTTPS URI