Hanging up on a call before it was established was failing because the hangup was being sent before the call.
This is an initial fix to one aspect of the problem.
Merge branch 'beta' of https://github.com/priologic/easyrtc into beta