Updated required parameters to chat.
It's still HTTP POST, but it now wants the logpos and version numbers when sending a message.
Reduced number of URLDecoder calls.
The decoded sessionid is now stored in the inner TradeCommands instance and the decoding is attempted only once.