Merge develop branch in master.
Remove RFC 3261 18.1.2 sanity check (sent-by host mismatch in Via header).
This allows JsSIP to interop with non very compliant RFC 3261 servers.
RTCSession: Send AKC+BYE after receipt of a 2XX with wrong SDP (fix #234). Credits to @mEkblom.
Improve session status (related to #234).
Update year in LICENSE.
ICE connection RTP timeout status fix
Merge pull request #240 from rusekr/icefailedbugfix

ICE connection RTP timeout status fix
fix createAnswer / createOffer when ICE state is 'completed'

RTCMediaHandler's createAnswer and createOffer methods never invoke the
success callback if the ICE state is 'completed'. This happens because the
onSetLocalDescriptionSuccess callbacks check whether the ICE state is
'connected' instead of 'connected' or 'completed'. As a consequence of this,
hold and unhold no longer works once ICE reaches the 'completed' state.

This change fixes the ICE state test to allow both 'connected' and 'completed'.
Merge pull request #242 from jlaine/hold-unhold

fix createAnswer / createOffer when ICE state is 'completed'
Disable a failing test until the fix is done.
Fix some minor issues in EventEmitter class.
- Add Expires header into REGISTER requests to deal with not very cool registrar servers.
- Set initial CSeq number to 1 in REGISTER requests.
Fire 'progress' (originator = local) when receiving an incoming call.
Emit 'registered' / 'unregistered' before updating the 'registered' attribute.
Don't emit 'registered' if already registered.
Add hack_via_ws option to force "WS" in Via header when the server has wss:// scheme.
Ensure 'disconnected' event is fired when calling UA.stop().
Revert last commit. Sorry.
Add NEW_DESIGN.md file.
Use debug instead of log.