Let $f$ be a real-valued function such that $4f(x) + x f\left(\frac{1}{x}\right) = x + 1$ for every positive real number $x$. Find $f(2014)$.

Let's think step by step and output the final answer within \boxed{}.
user