fixed AsyncTcpLink and updated samples