Handle client requests.