update urllib to support gzip and add full user-agent

rt