Survival and Growth with a Liability: Optimal Portfolio Strategies in Continuous Time