active_sync_types.h added to include
session state added for active sync and proper error codes returning