Check of session IP

1. Made optional the check of session IP.