fixed flashsocket connection bug