Added basic bot detection.
Fix bot test.
Changed diagnostic IP to proxy forwarded IP.
Changed call to correct method.