Get ls-remote working across tcp, http, and https in node