Ensure url is a string for requests.post

requests.post doesn't support SplitResult object as url

This change ensure that the url passed to requests.port is a string

Change-Id: Ibfdd51f06edffc4ea744ff21cd53591c2db6e251