Let a and b be positive real numbers. Let m = \min \left\{ a, \frac{1}{b}, b^2 + \frac{1}{a + 1} \right\}. Find the largest possible value of m.