Improved readability of thread_local_hosts & request method