fix the x1 ping flag = False, try to stop the lcping 

add self.tr.protocol = self.proto to test ConnectionLost

add _start_x1_connection for unittest

in unittest, it will replace by fake code