Support p-redis format of hostname for redis