Fix redundant null, add GET POST flag in RTP and header