fixed exception in sip.stringify when message.headers contains undefined headers

Signed-off-by: Kirill Mikhailov <kirill.mikhailov@gmail.com>