Avoid replacing params argument to TradeAPI._post with its encoded contents to allow more useful error messages.
Added the KeyHandler class to track key nonces.
Added a CancelOrder sample that uses the KeyHandler.