'Got data from downstream; relay them upstream.'

def receivedDownstream(self, data):

    decoded_data = ''
    b64_chunks = _get_b64_chunks_from_str(data.peek())
    for chunk in b64_chunks:
        try:
            decoded_data += base64.b64decode(chunk)
        except TypeError:
            log.info(("We    got    corrupted    b64    ('%s')." % chunk))
            return
    data.drain()
    self.circuit.upstream.write(decoded_data)
