remove the complex handshake of librtmp. refine makefile of librtmp tools