Added preprocessor ability for rpc calls
Implemented auth key invalidation detection
Correct manual mtproto closing