Initial REFER changes

Does not yet support sending or receiving of NOTIFYs to indicate the state
of the refer attempt.

Other included changes:
- General clean-up of allow/supported/required headers and
associated behaviour.
- Fix for CSeq checking.
- Respond correctly to double incoming INVITE requests.