Session class fix for target server address containing dot notation (.), server address domain was being stripped off, also created a test for this scenario