Added urldecode for ports in API to deal with slashes in port names