Reactive Planning With Legged Robots In Unknown Environments