Make RequestHolder thread-safe

Most (application)servers are multi-threaded (even the django development server!) and the original code can return the wrong request in these cases.