A sequential likelihood ratio test for general hypotheses