sip_msrp_client.py: moved message formatting to a separate function

darcs-hash:20081118075002-b2873-7649506d314bdc68243135f72ae6cb4ec5d3b474