Refactor SIP response parsing for future improvements