internal void Reset() { // tell also the socket that we need to reset the stream, this is needed for BOSH ClientSocket.Reset(); StreamParser.Reset(); SendStreamHeader(false); }