def __init__(self, address, on_connect=None, on_close=None):
self.address = address<EOL>self.on_connect = on_connect<EOL>self.on_close = on_close<EOL>self.sock = None<EOL>self.buf = b"<STR_LIT>"<EOL>
address is (host, port) tuple