Clean up RTMP parsing.