Extending the orignal SipDemo source code to work as sipclient for sinitphone