afaict, this function is supposed to return a tuple of (protocol, socket). If the return below were hit, the calling function (`.send()`) would crash as written.