fix wrong type for browser timeout
use RFC 2822 to get xivo current time

reason: 'date +%s' uses UTC, but the log files are using localtime,
resulting in searches in the wrong time span