Fixed ports of the media stream in the active SDPs of an Invitation

Ignore-this: 66164442cdb8486e8cd1cb25b25da3d4

darcs-hash:20100115151801-1e3d8-1cefe7cdbbcefa88f33763dcc3917bb6ae7ea6ec
Added support for SystemDidWakeUpFromSleep notification in registration

Ignore-this: 51ff788fbb9e2d4a78cbd6dffacc905f

darcs-hash:20100118094412-1e3d8-9da3a226435d16f56dee4654046a101eb1ae3535