Fix for issue  #1722: parse url using the same logic as in redis through kombu