Use six.moves.urllib.parse instead of urlparse

To keep Python 3.x compatibility, use six.moves.urllib.parse
to replace urlparse.

Change-Id: Ib82f1f5108e4ec4f420f7a4745ab968df409c11d
Merge "Use six.moves.urllib.parse instead of urlparse"