Split rtsp_send_cmd() into two functions, one for the actual sending of the