Implementing the Common Log Format with referer & user-agent added to the end