Use six.moves.urllib.parse instead of urlparse

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

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