Important bug fixes, for RtpSocket and AAC streaming