<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def overloaded(self, client_addr):
 """ Deflect if we have too many inbound requests """

        overloaded_txt = 'HTTP/1.0 429 Too Many Requests\r\nServer: BaseHTTP/0.3 Python/2.7.14+\r\nContent-type: text/plain\r\nContent-length: 17\r\n\r\nToo many requests'
        if BLOCKSTACK_TEST:
            log.warn('Too many requests; deflecting {}'.format(client_addr))

        return overloaded_txt