FAST: there is no need to store pmap pointer in fast_message structure

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
FIX: meet necessary conditions during Logon

According to FIX spec:

* If MsgSeqNum is too high then Resend Request is to be sent
* If any message other than Logon is received, Logout message
with Text "First message not a logon" has to be sent

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
FIX: session active flag is added

active becomes true iff logon was succesfully performed,
the flag becomes false whenever logout is done

P.S. let logout grace period be equal to 2 seconds

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
FIX: session level reject message is introduced

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
FIX: incoming sequence reset message logic implemented

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
FIX: client cleanups

* run the client only if the session is active
* do not perform logout if the session is not active
since logout was done inside libtrading internals

Signed-off-by: Marat Stanichenko <mstanichenko@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>