socket protocol creator base on Adobe Air ( need as3BaseLib )