added error checking and tracing code
added lots of log messages - manage to deal with SIP messages spread across several packets as well as packets containing several SIP messages - this is a WIP