added comment to getRoutePrefixes explaining the need to test for protocol first