def METHOD_NAME(self, request_data):
    logging.debug("capitalize")
    stream = IOStream(socket.socket())
    logging.debug("connecting")
    yield stream.connect(("127.0.0.1", self.port))
    stream.write(utf8(request_data + "\n"))
    logging.debug("reading")
    data = yield stream.read_until(b"\n")
    logging.debug("returning")
    stream.close()
    raise gen.Return(self.process_response(data))