Updated squid log parsing; Added substitute helper class for python < 2.7