adding persistent mode - allows to reuse http sessions for consequtive requests